Skip to content

Instantly share code, notes, and snippets.

# Claude Code CLI Environment Variables
# This file lists all environment variables used in v2.1.202 with explanations
## Anthropic API & Authentication
ANTHROPIC_API_KEY - Primary API key for Anthropic's Claude API; used as an auth source (source "ANTHROPIC_API_KEY") when no OAuth token is configured
ANTHROPIC_AUTH_TOKEN - Alternative bearer token for Anthropic services; sent as Authorization: Bearer and takes priority over ANTHROPIC_API_KEY, also used with gateway mode
ANTHROPIC_BASE_URL - Custom base URL for the Anthropic API; overrides the default api.anthropic.com endpoint (a non-api.anthropic.com host marks the client as non-first-party)
ANTHROPIC_BETAS - Comma-separated list of beta feature headers appended (trimmed, non-empty) to the internal beta flags on API requests
ANTHROPIC_CUSTOM_HEADERS - Custom HTTP headers for API requests, parsed as newline-separated "Key: Value" pairs
@hlissner
hlissner / index.md
Last active September 5, 2026 04:16
Doom Emacs: Discourse Archive Index

Doom Emacs Discourse Archive

The Doom community switched from Discourse (formerly discourse.doomemacs.org) to Github Discussions in 2025. The Discourse was kept in read-only mode until it was shut down on August 30, 2026. However, there were many helpful posts on the Discourse that I didn't want to simply delete, so I've saved, updated, and reformatted some of them into Gists until docs.doomemacs.org and wiki.doomemacs.org are finished.

Important

Remember that Doom's official documentation can be accessed from within Doom using M-x doom/help.

For docs.doomemacs.org

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active September 5, 2026 03:59
Complete Recent Discord Quest

Caution

As of August 26th 2026, Discord has started suspending quest access of people caught automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you WILL get flagged by doing so.

Complete Recent Discord Quest

@Neilblaze
Neilblaze / CPP_Template.cpp
Last active September 5, 2026 03:55
CP Template β€” C++ </>
#include <bits/stdc++.h>
using namespace std;
/* clang-format off */
/* TYPES */
#define ll long long
#define pii pair<int, int>
#define pll pair<long long, long long>
#define vi vector<int>
@Neilblaze
Neilblaze / πŸ“Š Weekly development breakdown
Last active September 5, 2026 03:55
πŸ“Š Weekly development breakdown
Python 24 hrs 2 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Žβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 48.1%
TypeScript 18 hrs 4 mins β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 36.1%
Other 4 hrs 7 mins β–ˆβ–Šβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 8.2%
C++ 2 hrs 19 mins β–‰β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 4.6%
Bash 1 hr 27 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.9%
@Neilblaze
Neilblaze / GohanBlaz3.gif
Last active September 5, 2026 03:55
Life's a juggling act, embrace it! πŸ’™
GohanBlaz3.gif
@naim149
naim149 / GH-600-public-study-guide.md
Created May 24, 2026 15:08
GH-600 Public Study Guide

GH-600 Public Study Guide

Markdown-only workbook for Exam GH-600: Developing in Agentic AI Systems.

Last updated: May 24, 2026.

This version is organized around the official GH-600 domains. Each domain explains the concepts, shows the GitHub implementation artifacts, and includes examples you should be able to read in YAML, Markdown, CLI output, PR timelines, and audit logs.

Public sharing note: this guide is not an exam dump and does not contain real exam questions or answer choices. It is a structured study workbook built from official Microsoft and GitHub documentation, with practical examples written for learning and review.

@peterhurford
peterhurford / readable-code.md
Last active September 5, 2026 03:39
How do you write readable code?: 13 Principles

How do you write readable code?: 13 Principles

"Programs should be written for people to read, and only incidentally for machines to execute." -- Structure and Interpretation of Computer Programs

"How would you define good code? [...] After lots of interviews we started wondering if we could come out with a definition of good code following a pseudo-scientific method. [...] The population is defined by all the software developers. The sample consists of 65 developers chosen by convenience. [...] The questionnaire consists in a single question: β€œWhat do you feel makes code good? How would you define good code?”. [...] Of those, the most common answer by far was that the code has to be Readable (78.46%), almost 8 of each 10 developers believe that good code should be easy to read and understand." -- "What is Good Code: A Scientific Definition"

@ProvanceMedia
ProvanceMedia / setup-test-campaigns.mjs
Created April 15, 2026 16:35
paperclone test campaigns setup
import { Client } from "pg";
import { readFileSync, existsSync } from "node:fs";
import { createHash, randomBytes } from "node:crypto";
function cuid() { return "c" + randomBytes(12).toString("hex"); }
function hashEmail(email) {
return createHash("sha256").update(email.toLowerCase().trim()).digest("hex");
}
const CAMPAIGNS = [
@kriegalex
kriegalex / install-battlenet-on-cachyos-linux-steam-proton.md
Last active September 5, 2026 03:33
Install Battle.net on CachyOS Linux Using Steam & Proton

Install Battle.net on CachyOS Linux Using Steam & Proton

Tested on: CachyOS (Arch-based) Β· KDE Plasma 6.5 / 6.6 Β· Wayland Β· Steam (native pacman package)

Last updated: March 2026

Games confirmed working: World of Warcraft, Diablo IV, Diablo II: Resurrected, StarCraft Remastered, Hearthstone, Overwatch 2, Call of Duty

Why This Method?